<template>
  <div class="title">
    <div>
      <img src="@/assets/xinshuoImages/greenStatus.png" alt="" class="confirmLogo" />
      <span>{{ title }}</span>
    </div>
  </div>
</template>

<script setup>
import urls from '@/utils/url'

const props = defineProps({
  title: {
    type: String,
    default: '',
  },
})
</script>

<style lang="scss" scoped>
// 弹性盒子
@mixin common() {
  display: flex;
  align-items: center;
}
.title {
  @include common;
  width: auto;
  height: 28px;
  border-radius: 2px 2px 2px 2px;
  font-size: 14px;
  font-family:
    Source Han Sans CN-Medium,
    Source Han Sans CN;
  font-weight: 500;
  color: #ffffff;
  line-height: 28px;
  > div {
    background: #00be1b;
    display: flex;
    align-items: center;
  }
  img {
    margin: 0 4px;
  }
  span {
    margin-right: 4px;
  }
}
</style>
